package com.alibaba.annotation;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;

/**
 * @Author: zhuangzhiwen
 * @Date: 2021/8/22
 */
public class Write {
    public static void main(String[] args) throws IOException {
        BufferedWriter bw=new BufferedWriter(new FileWriter("D:\\study\\spring_bean\\write.txt"));
        bw.write("hello");
        bw.newLine();
        bw.flush();
        bw.close();
    }
}
